import getApi from './httpOperation'
export function handleLike(userNo, objNo, objType) {//处理点赞信息
    setTimeout(function () {
        getApi.setLike(
            userNo, objNo, objType
        ).then(res => {
            console.log(res)
        })
    }, 300)
}
export function handleCollect(userNo, objNo, objType) {//处理收藏信息
    setTimeout(function () {
        getApi.setCollection(
            userNo, objNo, objType
        ).then(res => {
            console.log(res)
        })
    }, 300)
}
export function handleReport(userNo, objNo, objType, report_time) {//处理举报信息
    setTimeout(function () {
        getApi.setReport(
            userNo, objNo, objType, report_time
        ).then(res => {
            console.log(res)
        })
    }, 300)
}